package fr.efrei.international.java.assignment.two;

import java.applet.Applet;
import java.applet.AudioClip;
import java.net.MalformedURLException;
import java.net.URL;

public class Music {
	public static void Play(String name) throws MalformedURLException {
		URL url = new URL("file:" + name);
		AudioClip ac = Applet.newAudioClip(url);
		ac.play();
	}
}
